#ifndef CUTIL_H
#define CUTIL_H

#include <QObject>
#include <functional>
class CUtil : public QObject
{
    Q_OBJECT
public:
    static CUtil*Instance();
    void registor();
    void log(const QString&msg);
signals:
    void sLog(const QString& msg);
protected:
    CUtil(QObject *parent = nullptr):QObject(parent){}
    static CUtil*_instance;
};

#endif // CUTIL_H
